﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;

namespace NUnitTest.UnitTest.Targets
{
    [TestFixture]
    public class TestAppConfig
    {
        /// <summary>
        /// Tests the applicationconfig load.
        /// </summary>
        [Test]
        public void TestApplicationconfigLoad()
        {
            string s = System.Configuration.ConfigurationManager.AppSettings["importantSetting"];
            Assert.AreEqual("Important value", s, "Application config was not loaded");
        }
    }
}
